<!--Phần đầu site-->
<div class="navbar navbar-inverse navbar-fixed-top" style="border-top: 5px solid #d51a21; height: 38px;">
    <div class="navbar-inner" style="background: #e1e1e1;border:none">
        <div class="container">
            <a class="btn bt-log" type="submit" href="#login" role="button" data-toggle="modal">Đăng nhập</a>
            <a class="btn bt-reg" href="<?php echo SKIN_FPATH ?>dangky">Đăng ký</a>
        </div>
    </div>
</div>
<!-- Modal -->
<div id="login" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Đăng nhập</h3>
    </div>
    <div class="alert alert-error" id="err_login" style="display: none"></div>
    <form class="navbar-form pull-left login_form" id="customer_login_form" method="post" name="customer_login_form">
        <div id="cError"></div>
        <div class="modal-body">
            <span class="span1 mTop10">Email:</span>
            <input type="text" title="Email đăng nhập" id="login_email" name="login_email" class="span4" placeholder="Email" autocomplete="off"/><br/>
            <span class="span1 mTop10">Mật khẩu:</span>
            <input type="password" title="Mật khẩu" id="login_pass" class="span4" name="login_pass" placeholder="Mật khẩu" autocomplete="off"/>
        </div>
        <div style="width: 100%;" class="modal-footer">
            <input type="checkbox" name="save_login" class="checkbox" id="save_login">
            <label class="8e8e8e" for="save_login">Ghi nhớ</label>
            <button aria-hidden="true" data-dismiss="modal" class="btn">Close</button>
            <a href="javascript:void(0);" onclick="loginUser('<?php echo DOMAIN ?>')" class="btn btn-primary">Đăng nhập</a>
        </div>
    </form>
</div>
<div id="regis" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Đăng kí</h3>
    </div>
</div>